94ee02bb40b8d5740b1ba1c79a1544f2ddcf6525,app/src/main/java/uz/efir/muazzin/NotificationService.java,NotificationService,issueNotification,#number#number#,130
Before Change
PendingIntent piSnooze = PendingIntent.getService(this, timeIndex, snoozeIntent, 0);
notificationBuilder
.setStyle(new NotificationCompat.BigTextStyle().bigText(question))
.addAction(R.drawable.ic_stat_action_done, getString(R.string.yes), piDone)
.addAction(R.drawable.ic_stat_action_snooze, getString(R.string.snooze), piSnooze)
.setDefaults(Notification.DEFAULT_ALL);
WakeLock.release();
After Change
.addAction(R.drawable.ic_stat_action_done, getString(R.string.yes), piDone)
.addAction(R.drawable.ic_stat_action_snooze, getString(R.string.snooze), piSnooze)
.setDefaults(Notification.DEFAULT_ALL);
if (timeIndex != CONSTANT.SUNRISE) {
// There is no sunrise prayer
notificationBuilder.setContentText(question);
notificationBuilder.setStyle(new NotificationCompat.BigTextStyle().bigText(question));
}
WakeLock.release();
}